<!DOCTYPE html>
<html lang="zh">
<head data-built-info="<%=htmlWebpackPlugin.options.builtInfo%>">
  <meta charset="UTF-8" />
  <meta
    name="renderer"
    content="webkit"
  />
  <meta
    http-equiv="X-UA-Compatible"
    content="IE=edge,Chrome=1"
  />
  <!-- PROCESS -->
  <script>
    window.process = {
      env: {
        app: JSON.parse('<%=JSON.stringify(htmlWebpackPlugin.options.process)%>')
      },
      NODE_ENV: '<%=JSON.stringify(htmlWebpackPlugin.options.mode)%>'
    }
  </script>
  <% for (const item of htmlWebpackPlugin.options.links) { %>
    <link type="text/css" rel="stylesheet" href="<%=item%>"></link>
  <% } %>
  <!-- TITLE -->
  <title>--</title>
  <!-- GLOBAL-DEFINE -->
  <script>
    window.__JJB_ENVIRONMENT__ = {
      API_HOST: '<%= htmlWebpackPlugin.options.API_HOST %>',
      redirect: '<%= htmlWebpackPlugin.options.redirectLogin %>',
      FRAMEWORK: JSON.parse('<%= JSON.stringify(htmlWebpackPlugin.options.framework.antd) %>')
    };
  </script>
  <!--  SCRIPTS  -->
  <% for (const item of htmlWebpackPlugin.options.scripts) { %>
    <script src="<%=item%>" type="text/javascript"></script>
  <% } %>
</head>
<body style="overflow: hidden">
<!-- NOSCRIPT -->
<noscript>
  此网页需要开启JavaScript功能。
</noscript>
<!-- MAIN -->
<% const { element } = htmlWebpackPlugin.options; %>
<% const { root } = element; %>
<div
  id="<%=root.id%>"
  style="width: 100%; height: 100%; position: relative"
></div>
</body>
</html>
